package com.woniuxy.yogaapp.service.imp;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.woniuxy.yogaapp.mapper.RecruitMapper;
import com.woniuxy.yogaapp.pojo.Recruit;
import com.woniuxy.yogaapp.service.RecruitService;

import lombok.Data;
@Data
@Service
@Transactional
public class RecruitServiceImp implements RecruitService  {
	@Resource
	private RecruitMapper recruitMapper;
	//查询所有招聘信息
	@Override
	public List<Recruit> findAllRecruit() {
		return recruitMapper.findAllRecruit();
	}
	
}
